-
Home
-
StoreKeeper for WooCommerce
-
9.5.0-b3678283981
-
Code
-
Classes
- AbstractModel
| Total Complexity |
60 |
| Dependencies |
10 |
| Dependents |
2 |
| Total lines |
344 |
| Lines of code |
233 |
| Logical lines of code |
112 |
| Comment lines |
5 |
| Methods |
31 |
| Properties |
0 |
Methods 31
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validateData() |
S |
60 |
7 |
12 |
| upsert() |
S |
55 |
5 |
21 |
| ensureAffectedRows() |
S |
64 |
5 |
9 |
| ensureTable() |
S |
63 |
4 |
13 |
| prepareData() |
S |
62 |
4 |
11 |
| read() |
S |
54 |
3 |
22 |
| getValidForeignFieldKey() |
S |
62 |
3 |
11 |
| getWpPrefix() |
S |
74 |
2 |
4 |
| querySql() |
S |
68 |
2 |
7 |
| checkTableEngineInnoDB() |
S |
73 |
2 |
5 |
| count() |
S |
64 |
2 |
10 |
| getSelectHelper() |
S |
66 |
2 |
9 |
| update() |
S |
62 |
1 |
12 |
| getTableVersion() |
S |
79 |
1 |
3 |
| setTableVersion() |
S |
79 |
1 |
3 |
| getTableName() |
S |
79 |
1 |
3 |
| isTableOutdated() |
S |
79 |
1 |
3 |
| updateDateField() |
S |
74 |
1 |
4 |
| hasTable() |
S |
72 |
1 |
5 |
| getTableEngine() |
S |
67 |
1 |
8 |
| setTableEngineToInnoDB() |
S |
67 |
1 |
8 |
| isTableEngineInnoDB() |
S |
79 |
1 |
3 |
| create() |
S |
64 |
1 |
10 |
| get() |
S |
80 |
1 |
3 |
| delete() |
S |
65 |
1 |
10 |
| getInsertHelper() |
S |
75 |
1 |
5 |
| getUpdateHelper() |
S |
75 |
1 |
5 |
| getDeleteHelper() |
S |
75 |
1 |
5 |
| prepareQuery() |
S |
77 |
1 |
4 |
| alterTable() |
S |
89 |
1 |
2 |
| purge() |
S |
81 |
1 |
3 |